from heap import Heap

if __name__ == "__main__":
    my_heap = Heap()
    for i in range(10):
        my_heap.insert(i+1)
    print('建堆:', my_heap.data_list)
    print("删除堆顶元素：", [my_heap.remove_max() for _ in range(10)])
